Triangular Grid
Generate triangular grid pattern.
Node Data | |
|---|---|
Display name | |
Triangular Grid | |
Internal name | |
Node_Grid_Tri | |
Inheritances | |
| Node_Processor | |
| Node_Grid_Tri | |
Inputs | |
Output | |
vec2 |
Dimension |
surface |
Uv Map |
slider |
Uv Mix |
surface |
Mask |
Pattern | |
vec2 |
Position |
rotation |
Angle |
vec2 |
Scale |
slider |
Gap |
Shift | |
slider |
Shift |
slider |
Random Shift |
seedfloat |
Shift Seed |
slider |
Secondary Shift |
Render | |
enum |
Render Type |
gradient |
Tile Color |
seedfloat |
Color Seed |
color |
Gap Color |
surface |
Texture |
bool |
Use Texture Dimension |
bool |
Anti-Aliasing |
range |
Level |
Texture Transform | |
bool |
Truchet |
int |
Texture Seed |
vec2[2] |
Random Position |
rotRange |
Random Angle |
vec2[2] |
Random Scale |
slider |
Flip Threshold |
Outputs | |
surface |
Surface Out |
surface |
Heightmap |
Attributes | |
| Color Depth | |
| Interpolation | |
| Oversample | |

Generate triangular grid pattern.

Properties
| Pattern | |
| Gap | Thickness of the gap between grid. |
Rendering Modes
Colored Tile
Fill each cell with a solid random color sampled from the Tile Color value.

Height Map
Render each cell out as a heightmap.

Texture Grid
Render out the surface value from Texture to each cell.

Texture Sample
Fill each cell with a solid color sampled from the Texture value.

Truchet Properties
Similiar to other grid related nodes. Truchet settings rotate the surface randomly to create an interesting effect.
Truchet Threshold
The ratio of the rotation.
Texture Angle
Apply random rotation on top of the truchet.
Related Links
- Base Code: /scripts/node_grid_tri/node_grid_tri.gml
- Shader [sh_grid_tri]: /shaders/sh_grid_tri/sh_grid_tri.fsh